package com.theyeasy.dvmini.enums;

import java.math.BigDecimal;


/**
 * @ClassName ExceptionalTypeConstant
 * @Description 默认打赏类型枚举
 * @author hsj
 * @Date 2017年8月21日 下午3:44:27
 * @version 1.0.0
 */
public enum ExceptionalTypeConstant implements Behaviour{
	鲜花(1,"鲜花","http://www.w1hd.com/games/images/xianhua.png",new BigDecimal(0)),游艇(2,"游艇","http://www.w1hd.com/games/images/youting.png",new BigDecimal(1)),跑车(3,"跑车","http://www.w1hd.com/games/images/paoche.png",new BigDecimal(1));
	
	ExceptionalTypeConstant(int code, String name, String url, BigDecimal money){
		this.code=code;
		this.name=name;
		this.url=url;
		this.money=money;
	}
	
	private int code;
	
	private String name;
	
	private String url;
	
	private BigDecimal money;

	@Override
	public int getCode() {
		return code;
	}

	@Override
	public String getName() {

		return this.name;
	}
	
	public String getUrl(){
		return this.url;
	}

	public BigDecimal getMoney(){
		return this.money;
	}
	
	
}
